package com.zy.design.pattern.decorator;

/**
 * @author zhaoyi
 * @date 2021/4/29 15:40
 * 汽油车
 * 实现汽车的驾驶功能
 */
public class GasolineCar implements ICar{

    @Override
    public void drive() {
        System.out.println("开着我上路吧!!!");
    }
}
